package au.edu.swin.swinvehicle.vehicletype;

/**
 * VehicleTypeManagerRemote interface
 * @version 1.0
 * @author Viet Bui
 * @lastmodify 2009-05-11
 */
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface VehicleTypeManagerRemote {

    public void addVehicleType(VehicleTypeDetailedTO to) throws VehicleTypeManagerException;

    public void editVehicleType(VehicleTypeDetailedTO to) throws VehicleTypeManagerException;

    public void deleteVehicleType(Long id) throws VehicleTypeManagerException;

    public List<VehicleTypeTO> getAllVehicleTypes() throws VehicleTypeManagerException;

    public List<VehicleTypeDetailedTO> getAllDetailedVehicleTypes() throws VehicleTypeManagerException;

    public VehicleTypeDetailedTO getVehicleType(Long id) throws VehicleTypeManagerException;
}